﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Fastyou.Model
{
    [DataContract]
    public class ErrorMessage
    {

        public ErrorMessage(string operation, string errorMessage)
        {
            this.Operation = operation;
            this.Messages = errorMessage;
        }

        [DataMember]
        public string Operation
        {
            get;
            set;
        }

        [DataMember]
        public string Messages
        {
            get;
            set;
        }
    }
}
